package homework33;

public abstract class EventProcessing {
    protected EventProcessing successor;//定义后继对象
    protected String name;//审批人员

    public EventProcessing(String name){
        this.name = name;
    }

    public void setSuccessor(EventProcessing successor) {//设置后继者
        this.successor = successor;
    }

    public abstract void hardMission(Mission mission);
}
